body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #111;
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 1s;
    overflow-x: hidden;
}

.video-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.video-bg iframe {
    width: 120vw;
    height: 120vh;
    min-width: 120vw;
    min-height: 120vh;
    object-fit: cover;
    pointer-events: none;
    filter: brightness(0.35) blur(3.5px) grayscale(0.15);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.13);
    z-index: 0;
}

/* Основные стили */

.norris-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 38px 0 30px 0;
    padding: 0;
    background: none;
    position: relative;
    z-index: 2;
}

.logo-btn-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 3vw;
}
@media (max-width: 600px) {
  .logo-btn-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 2vw;
  }
  .contacts-btn {
    margin-left: 0 !important;
    width: 100%;
    max-width: 340px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  .logo-center {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .logo-btn-wrapper {
    gap: 2px;
    max-width: 99vw;
    padding: 0 2vw;
  }
  .contacts-btn {
    width: auto;
    max-width: 220px;
    min-width: 120px;
    margin-left: 18px;
    text-align: left;
    justify-content: flex-start;
    padding: 12px 18px;
    font-size: 1em;
  }
}
@media (max-width: 500px) {
  .logo-btn-wrapper {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: stretch;
    padding: 0 2vw;
  }
}

@media (max-width: 900px) {
  .logo-btn-wrapper {
    max-width: 98vw;
    gap: 28px;
  }
}
@media (max-width: 700px) {
  .logo-btn-wrapper {
    max-width: 99vw;
    gap: 18px;
  }
}
@media (max-width: 500px) {
  .logo-btn-wrapper {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: stretch;
  }
  .contacts-btn {
    margin-left: 0 !important;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
.logo-center img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: none;
    background: none;
    /* border: none; */
    transition: none;
}

.contacts-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(270deg, #6a82fb, #fc5c7d, #6a82fb, #fc5c7d);
    background-size: 400% 400%;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.22em;
    padding: 16px 44px;
    border-radius: 18px;
    box-shadow: 0 2px 22px #fc5c7d33, 0 2px 10px #0002;
    margin-left: 5vw;
    max-width: 340px;
    transition: background 0.38s cubic-bezier(.4,0,.2,1), box-shadow 0.24s, color 0.18s, transform 0.18s, filter 0.18s;
    letter-spacing: 0.5px;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    overflow: hidden;
    animation: btn-gradient-move-contacts 3s linear infinite;
    width: 100%;
    min-width: 160px;
    box-sizing: border-box;
}
@media (min-width: 700px) {
  .contacts-btn {
    width: auto;
    min-width: 160px;
    max-width: 340px;
  }
}
@media (max-width: 500px) {
  .contacts-btn {
    margin-left: 0 !important;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 0.98em;
    padding: 12px 0;
    max-width: 100vw;
  }
}
.contacts-btn:hover, .contacts-btn:focus {
    background: linear-gradient(90deg, #fc5c7d, #6a82fb, #fc5c7d, #6a82fb);
    background-size: 400% 400%;
    animation: btn-gradient-move-contacts 1s linear infinite;
    color: #fff;
    box-shadow: 0 8px 38px #fc5c7d99, 0 2px 10px #0002;
    transform: translateY(-2px) scale(1.06);
    filter: brightness(1.08) saturate(1.15) drop-shadow(0 0 14px #fc5c7d88);
}
.contacts-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 2px 8px 0 #6a82fb44;
    filter: none;
}
@keyframes btn-gradient-move-contacts {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@media (max-width: 700px) {
  .contacts-btn {
    margin-left: 18px;
    padding: 12px 18px;
    font-size: 1em;
  }
}
@media (max-width: 500px) {
  .contacts-btn {
    margin-left: 0 !important;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 0.98em;
    padding: 12px 0;
  }
}

.contacts-btn:hover, .contacts-btn:focus {
    background: linear-gradient(90deg, #fc5c7d, #6a82fb, #fc5c7d, #6a82fb);
    background-size: 400% 400%;
    animation: btn-gradient-move-contacts 1s linear infinite;
    color: #fff;
    box-shadow: 0 8px 38px #fc5c7d66, 0 2px 10px #0002;
    transform: translateY(-2px) scale(1.035);
}
.contacts-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 2px 8px 0 #6a82fb44;
}

@keyframes btn-gradient-move-contacts {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-btn {
    animation: btn-gradient-move 3.5s linear infinite;
    box-shadow: 0 0 18px 0 #fc5c7d44, 0 2px 10px #0002;
}
.animated-btn::after {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    border-radius: 18px;
    box-shadow: 0 0 32px 8px #fc5c7d33, 0 0 12px 6px #6a82fb33;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    animation: btn-glow 2.1s alternate infinite;
}
.animated-btn:hover, .contacts-btn:hover, .animated-btn:focus {
    background: linear-gradient(270deg, #fc5c7d, #6a82fb, #fc5c7d);
    background-size: 200% 200%;
    animation: btn-gradient-move 1.2s linear infinite;
    color: #fff;
    box-shadow: 0 8px 38px #fc5c7d66, 0 2px 10px #0002;
    transform: translateY(-3px) scale(1.07);
}
.animated-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 2px 8px 0 #6a82fb44;
}

@keyframes btn-gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes btn-glow {
    0% { opacity: 0.25; box-shadow: 0 0 22px 8px #fc5c7d33, 0 0 12px 6px #6a82fb33; }
    100% { opacity: 0.60; box-shadow: 0 0 44px 16px #fc5c7d66, 0 0 24px 12px #6a82fb66; }
}
.contacts-btn:hover, .contacts-btn:active {
    background: linear-gradient(90deg, #fc5c7d, #6a82fb);
    color: #fff;
    box-shadow: 0 8px 32px #0003;
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
    .norris-header {
        padding-left: 2vw;
        gap: 12px;
        margin: 18px 0 16px 0;
    }
    .logo-center img {
        width: 44px;
        height: 44px;
    }
    .contacts-btn {
        font-size: 1em;
        padding: 8px 14px;
        border-radius: 9px;
        margin-left: 8px;
    }
}
@media (max-width: 400px) {
    .norris-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding-left: 0;
    }
    .contacts-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}


.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.main-content, .family-history-block, .expect-offer-wrapper, .expect-block, .offer-block {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}


@media (max-width: 600px) {
  body {
    font-size: 0.97em;
    padding: 0 2vw;
  }
  .main-content, .family-history-block, .expect-offer-wrapper, .expect-block, .offer-block {
    padding: 14px 7px;
    border-radius: 14px;
    margin: 10px 0;
  }
  h1, h2 {
    font-size: 1.18em;
    padding: 0 38px;
    height: 54px;
    min-width: 170px;
    border-radius: 24px;
    box-sizing: border-box;
    text-align: center;
    margin: 0;
    white-space: nowrap;
    margin-bottom: 10px;
  }
  .discord-btn {
    font-size: 1em;
    padding: 8px 13px;
  }
}
@media (max-width: 400px) {
  body {
    font-size: 0.93em;
    padding: 0 1vw;
  }
  .main-content, .family-history-block, .expect-offer-wrapper, .expect-block, .offer-block {
    padding: 7px 2px;
    border-radius: 8px;
    margin: 6px 0;
  }
  h1, h2 {
    font-size: 0.98em;
    margin-bottom: 6px;
  }
  .discord-btn {
    font-size: 0.93em;
    padding: 6px 6px;
  }
}

/* Дополнительная затемняющая подложка поверх видео */
.video-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(120deg, rgba(0,0,0,0.66) 60%, rgba(25,25,25,0.85) 100%, #1e3c72 100%, #2a5298 100%);
    z-index: 1;
    pointer-events: none;
    display: block;
    animation: animated-gradient 10s ease-in-out infinite alternate;
    background-size: 200% 200%;
    mix-blend-mode: multiply;
}

@keyframes animated-gradient {
    0% {
        background-position: 0% 50%;
        background: linear-gradient(120deg, rgba(0,0,0,0.66) 60%, rgba(25,25,25,0.85) 100%, #1e3c72 100%, #2a5298 100%);
    }
    25% {
        background-position: 50% 100%;
        background: linear-gradient(135deg, rgba(0,0,0,0.72) 40%, #1e3c72 80%, #232526 100%);
    }
    50% {
        background-position: 100% 50%;
        background: linear-gradient(140deg, #232526 30%, rgba(25,25,25,0.88) 80%, #2a5298 100%);
    }
    75% {
        background-position: 50% 0%;
        background: linear-gradient(110deg, #1e3c72 30%, #232526 80%, rgba(0,0,0,0.7) 100%);
    }
    100% {
        background-position: 0% 50%;
        background: linear-gradient(120deg, rgba(0,0,0,0.66) 60%, rgba(25,25,25,0.85) 100%, #1e3c72 100%, #2a5298 100%);
    }
}



.logo-center {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 24px;
}
.logo-center img {
    width: 260px;
    height: auto;
    border-radius: 0;
    background: none;
    padding: 0;
    box-shadow: none;
    margin-bottom: 12px;
}
@media (max-width: 600px) {
    .logo-center img {
        width: 160px;
    }
}

.family-history-block {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto 36px auto;
    background: rgba(40,40,40,0.88);
    padding: 36px 30px 30px 30px;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.27);
    text-align: center;
}
.discord-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 32px;
    background: linear-gradient(270deg, #2196f3, #00bcd4, #7c4dff, #e040fb, #2196f3);
    background-size: 400% 400%;
    color: #fff;
    font-size: 1.15em;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 16px 0 rgba(33,150,243,0.18);
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.22s, filter 0.22s, background 0.33s, color 0.18s;
    filter: brightness(1.04) saturate(1.08);
    position: relative;
    overflow: hidden;
    animation: btn-gradient-move-blue 4s ease-in-out infinite;
    border: none;
    max-width: 340px;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 600px) {
  .contacts-btn {
    width: auto;
    max-width: 220px;
    min-width: 110px;
    margin-left: 12px;
    text-align: left;
    justify-content: flex-start;
    padding: 11px 14px;
    font-size: 0.96em;
  }
  .discord-btn {
    width: 100%;
    max-width: 100vw;
    font-size: 1em;
    padding: 10px 0;
  }
}
.discord-btn:hover, .discord-btn:focus {
    background: linear-gradient(90deg, #00bcd4, #7c4dff, #e040fb, #2196f3);
    background-size: 400% 400%;
    animation: btn-gradient-move-blue 1.2s linear infinite;
    color: #fff;
    box-shadow: 0 4px 32px 0 #7c4dff77, 0 2px 16px 0 #2196f377;
    transform: translateY(-2px) scale(1.06);
    filter: brightness(1.11) saturate(1.18) drop-shadow(0 0 14px #7c4dff88);
}
.discord-btn:active {
    transform: translateY(1px) scale(0.98);
    filter: none;
    box-shadow: 0 2px 8px 0 rgba(88,101,242,0.18);
}
@keyframes btn-gradient-move-blue {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes btn-gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes btn-gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.discord-btn:hover {
    background: linear-gradient(270deg, #00bcd4, #2196f3, #e040fb, #7c4dff, #00bcd4);
    background-size: 400% 400%;
    animation: btn-gradient-move-blue 1.1s linear infinite;
    transform: translateY(-2px) scale(1.07);
    box-shadow: 0 4px 22px 0 rgba(33,150,243,0.22);
    filter: brightness(1.13) saturate(1.18);
}
.discord-btn:active {
    transform: translateY(1px) scale(0.98);
    filter: brightness(0.93) saturate(0.95);
    box-shadow: 0 2px 8px 0 rgba(88,101,242,0.18);
}

.discord-btn:hover {
    background: linear-gradient(90deg, #4851c8 60%, #5865F2 100%);
    transform: translateY(-2px) scale(1.04);
}

.expect-offer-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    flex-wrap: wrap;
}
.expect-block, .offer-block {
    background: rgba(40,40,40,0.92);
    border-radius: 16px;
    box-shadow: 0 4px 18px 0 rgba(31, 38, 135, 0.17);
    padding: 28px 28px 24px 28px;
    min-width: 300px;
    max-width: 420px;
    flex: 1 1 320px;
}
.expect-block h2, .offer-block h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.25em;
    letter-spacing: 0.5px;
    color: #ffd700;
}
.expect-block ol, .offer-block ol {
    padding-left: 18px;
    margin: 0;
}
.expect-block li, .offer-block li {
    margin-bottom: 10px;
    font-size: 1.07em;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .expect-offer-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .expect-block, .offer-block {
        max-width: 100%;
    }
}

.main-content {
    max-width: 700px;
    margin: 80px auto 0 auto;
    background: rgba(40,40,40,0.85);
    padding: 40px 30px 30px 30px;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    text-align: center;
}
h1 {
    margin-bottom: 24px;
}
.home-link {
    position: fixed;
    left: 12px;
    bottom: 12px;
    font-size: 0.95em;
    color: #bbb;
    opacity: 0.5;
    text-decoration: none;
    z-index: 999;
    transition: opacity 0.2s;
}
.home-link:hover {
    opacity: 0.85;
}
